package org.example.myleet.p1154;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(9 == solution.dayOfYear("2019-01-09"));
        Assert.isTrue(41 == solution.dayOfYear("2019-02-10"));
        Assert.isTrue(60 == solution.dayOfYear("2003-03-01"));
        Assert.isTrue(61 == solution.dayOfYear("2004-03-01"));
        Assert.isTrue(60 == solution.dayOfYear("1900-03-01"));
        Assert.isTrue(61 == solution.dayOfYear("2000-03-01"));
        Assert.isTrue(355 == solution.dayOfYear("2019-12-21"));
    }
}
